﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="HL.Lib.MVC.ViewControl" %>
<% var listItem = ViewBag.Data as List<ModAdvEntity>; %>
<%for (int i = 0; listItem != null && i < listItem.Count; i++)
  { %>
<a class="logo" href="<%=ViewPage.GetURL("default") %>">
    <%if (!string.IsNullOrEmpty(listItem[i].File))
      { %>
    <img src="<%=listItem[i].File.Replace("~/","/") %>" />
    <%} %>
</a>
<%} %>